toggle menu
JxBrowser
8.2.1
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.dom
/
[jvm]ElementAttributes
Element
Attributes
public
interface
ElementAttributes
HTML attributes that are specified on a particular
Element
.
Members
Functions
as
Map
Link copied to clipboard
public
abstract
Map
<
String
,
String
>
asMap
(
)
Returns an immutable map that contains attributes of the element.
as
Nodes
Link copied to clipboard
public
abstract
List
<
Attribute
>
asNodes
(
)
Returns an immutable list that contains attribute nodes of the element.
contains
Link copied to clipboard
public
abstract
boolean
contains
(
String
name
)
Returns
true
when an attribute with the given
name
is specified on the element or has a default value, otherwise returns
false
.
element
Link copied to clipboard
public
abstract
Element
element
(
)
Returns
Element
, on which these attributes are specified.
get
Link copied to clipboard
public
abstract
String
get
(
String
name
)
Returns the value of the attribute with the given
name
.
put
Link copied to clipboard
public
abstract
void
put
(
String
name
,
String
value
)
Adds a new attribute with the given
name
and
value
.
remove
Link copied to clipboard
public
abstract
void
remove
(
String
name
)
Removes an attribute with the given
name
.
size
Link copied to clipboard
public
abstract
int
size
(
)
Returns a number of the specified attributes.